<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>regist</title>
    <link rel="stylesheet" href="{{ url_for ('static',filename='css/flask.css')}}">
    <link rel="stylesheet" href="{{ url_for ('static',filename='css/bootstrap.css')}}">
</head>
<body>
<form action="" method="post">
    <table class="table">
        <h1 style="text-align: center">注册页面</h1>
        <tr>
            <td>用户名</td>
            <td><input type ='text' name="username"></td>
        </tr>
        <h1>{{ exist_name }}{{ error_name }}</h1>
        <tr>
            <td>密码</td>
            <td><input type ='password' name="password1"></td>
        </tr>
        <h1>{{ error_password }}</h1>
        <tr>
            <td>确认密码密码</td>
            <td><input type ='password' name="password2"></td>
        </tr>
        <tr>
            <td>邮箱</td>
            <td><input type ='email' name="email"></td>
        </tr>
        <tr>
            <td>手机号码</td>
            <td><input type ='tel' name="tel"></td>
        </tr>
        <tr>
            <td>性别</td>
            <td>
                <select id="sex" name="sex">
                <option>男</option>
                <option>女</option>
                </select>
            </td>
        </tr>
        <tr>
            <td></td>
            <td><input type="submit" value="提交注册信息"></td>
        </tr>
    </table>
</form>

</body>
</html>